package com.banmajio.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * 抽象实体
 *
 * @author lengleng
 * @date 2021/8/9
 */

@Getter
@Setter
public class BaseEntity extends SuperEntity{

	/**
	 * 更新者id
	 */
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	private Long updateBy;

	/**
	 * 更新者姓名
	 */
	private String updatorName;

	/**
	 * 更新时间
	 */
	@JsonFormat(locale = "zh" , timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;

}
